// 服务列表

let HOST = ''
let fileHost = 'https://exam-file.igky.cc'
const env = process.env.NODE_ENV
if (env === 'development') {
  // HOST = 'https://api.igky.cc'
  HOST = 'https://sys-api.iguokao.com'
} else if (env === 'staging') {
  HOST = 'https://api.igky.cc'
} else if (env === 'production') {
  HOST = 'https://sys-api.iguokao.com'
  fileHost = 'https://exam-file.iguokao.com'
}

export { fileHost, HOST }
// 超管服务
export const SUPER_MANAGE_HOST = `${HOST}/management/api`

// HR服务
export const HR_HOST = `${HOST}/hr/api`

// 报告服务
export const REPORT_HOST = env === 'production' ? `${HOST}/report/api` : `${HOST}/report/api`

// 测评服务
export const EVALUATION_HOST = env === 'production' ? `${HOST}/evaluation/api` : `${HOST}/evaluation/api`

// 面试服务
export const INTERVIEW_HOST = env === 'production' ? `${HOST}/interview/api` : `${HOST}/interview/api`

// 考生服务
export const EXAM_HOST = env === 'production' ? `https://exam-api.iguokao.com/api` : `${HOST}/exam/api`

// review服务
export const REVIEW_HOST = env === 'production' ? `${HOST}/review/api` : `${HOST}/review/api`
